package com.game.centerserver.infrastructure.entity;

import java.io.Serializable;

/**
 * (Port)实体类
 *
 * @author makejava
 * @since 2024-12-16 22:16:07
 */
public class Port implements Serializable {
    private static final long serialVersionUID = -40609835848482690L;
    
    private Integer id;
    
    private Integer port;
    
    private String ip;
    /**
     * 0-表示udp端口，1-表示tcp端口
     */
    private Integer type;
    /**
     * 0-表示不可用，1-表示可用
     */
    private Integer usable;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getUsable() {
        return usable;
    }

    public void setUsable(Integer usable) {
        this.usable = usable;
    }

}

